package com.ax.associator.store.dao;

import com.ax.associator.store.domain.BusiAttachRelation;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BusiAttachRelationMapper {
    int deleteByPrimaryKey(Long relationId);

    int insert(BusiAttachRelation record);

    /**
     * 附件关联添加
     * @param busiAttachRelation
     * @return
     */
    Integer insertBusiAttachRelation(BusiAttachRelation busiAttachRelation);

    BusiAttachRelation selectByPrimaryKey(Long relationId);

    int updateByPrimaryKeySelective(BusiAttachRelation record);

    int updateByPrimaryKey(BusiAttachRelation record);
}